package com.aaa.dem1027.第二遍.d01;

/**
 * @Author: whj
 * @Version 1.0
 * @Date: 2022/10/27  15:04
 */
public class Test1 {
    public static void main(String[] args) throws Exception, InstantiationException {

        Class<Teacher> teacherClass = Teacher.class;
        Teacher teacher1 = teacherClass.newInstance();
        Teacher teacher2 = teacherClass.newInstance();
        System.out.println(teacher1==teacher2);
    }
}

class Teacher{
}
